//
//  ZZEditUserCell.h
//  QQplayground
//
//  Created by zhangxy on 2018/8/7.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZTextView.h"

@protocol ZZEditUserCellDelegate<NSObject>

-(void)onValueChange:(NSInteger ) type data:(User *) tempUser;

-(void)didKeyboardWillShow:(NSIndexPath *) index view1:(ZTextView *) view;

@end

@interface ZZEditUserCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *labTag;

@property (weak, nonatomic) IBOutlet UILabel *labText;

@property (weak, nonatomic) IBOutlet UIButton *btnBoy;
@property (weak, nonatomic) IBOutlet UIButton *btnGirl;
@property (weak, nonatomic) IBOutlet ZTextView *txtContent;

@property (strong, nonatomic) User *tempModel;
@property (strong, nonatomic) NSDictionary *tempDict;
@property (strong, nonatomic) NSIndexPath *indexPath;

@property (strong, nonatomic) id<ZZEditUserCellDelegate> delegate;


-(void)dataToView:(NSDictionary *) item;

@end
